![]() |
PBUnshareAsync |
||||
Header: | Files.h | Carbon status: | Supported | |
Reverses the effects of PBShare.
OSErr PBUnshareAsync ( HParmBlkPtr paramBlock );
A pointer to a basic HFS parameter block.
A result code.
The relevant fields of the parameter block are:
On input, a pointer to a completion function.
On output, the result code of the function.
On input, a pointer to a pathname.
On input, a volume specification. This field can contain a volume reference number, a working directory reference number, a drive number, or 0 for the default volume.
On input, a directory ID. If ioNamePtr is NULL, then ioDirID is the directory ID of the directory that is to become unavailable. If ioNamePtr points to a partial pathname, ioDirID is the parent directory of the directory to become unavailable.
The PBUnshareAsync function makes the share point specified by the ioNamePtr and ioDirID fields unavailable on the network.
Supported in Carbon. Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.
© 2000 Apple Computer, Inc. — (Last Updated 5/8/2000)